<?php

namespace App\Http\Controllers\Api\InnerApi;

use Illuminate\Http\Request;


class VehiclePlateController extends InnerApiBaseController
{
    /**
     * 获取停车记录获取
     *
     * @param Request $request
     * @return \Psr\Http\Message\StreamInterface
     * @throws \GuzzleHttp\Exception\GuzzleException
     */
    public function parkingRecords(Request $request)
    {
        $client  = $this->newHttp();
        $res = $client->request('POST','vehicle_plate/ParkingRecords',['form_params'=>$request->all()]);

        return $res->getBody();
    }
}
